package com.example.demo.domin;

import java.util.Date;

public class Book {
    private Short id;

    private String bookName;

    private Short value;

    private Short userId;

    private Short nowUser;

    private String bookType;

    private String bookClassify;

    private String press;

    private String author;

    private Date createDate;

    private Date updateDate;

    private String bookStatus;

    private String bookCoverUrl;

    private Date bookBorrowDate;

    private Short bookBorrowTime;

    private Date bookBorrowDeadline;

    private String bookIn;

    private String description;

    public Short getId() {
        return id;
    }

    public void setId(Short id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName == null ? null : bookName.trim();
    }

    public Short getValue() {
        return value;
    }

    public void setValue(Short value) {
        this.value = value;
    }

    public Short getUserId() {
        return userId;
    }

    public void setUserId(Short userId) {
        this.userId = userId;
    }

    public Short getNowUser() {
        return nowUser;
    }

    public void setNowUser(Short nowUser) {
        this.nowUser = nowUser;
    }

    public String getBookType() {
        return bookType;
    }

    public void setBookType(String bookType) {
        this.bookType = bookType == null ? null : bookType.trim();
    }

    public String getBookClassify() {
        return bookClassify;
    }

    public void setBookClassify(String bookClassify) {
        this.bookClassify = bookClassify == null ? null : bookClassify.trim();
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press == null ? null : press.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getBookStatus() {
        return bookStatus;
    }

    public void setBookStatus(String bookStatus) {
        this.bookStatus = bookStatus == null ? null : bookStatus.trim();
    }

    public String getBookCoverUrl() {
        return bookCoverUrl;
    }

    public void setBookCoverUrl(String bookCoverUrl) {
        this.bookCoverUrl = bookCoverUrl == null ? null : bookCoverUrl.trim();
    }

    public Date getBookBorrowDate() {
        return bookBorrowDate;
    }

    public void setBookBorrowDate(Date bookBorrowDate) {
        this.bookBorrowDate = bookBorrowDate;
    }

    public Short getBookBorrowTime() {
        return bookBorrowTime;
    }

    public void setBookBorrowTime(Short bookBorrowTime) {
        this.bookBorrowTime = bookBorrowTime;
    }

    public Date getBookBorrowDeadline() {
        return bookBorrowDeadline;
    }

    public void setBookBorrowDeadline(Date bookBorrowDeadline) {
        this.bookBorrowDeadline = bookBorrowDeadline;
    }

    public String getBookIn() {
        return bookIn;
    }

    public void setBookIn(String bookIn) {
        this.bookIn = bookIn == null ? null : bookIn.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}